#pragma once 
#include <iostream>
using namespace std;


// 定义摄像头类
class Camera {
public:
    string model;          // 型号
    string cameraType;     // 摄像头类型
    int rgbResolutionWidth;     // RGB帧分辨率宽度
    int rgbResolutionHeight;    // RGB帧分辨率高度
    int rgbFrameRate;           // RGB帧率
    int fovHorizontal;          // 水平视场角
    int fovVertical;            // 垂直视场角
    int depthFrameRate;         // 深度帧率

    // 默认构造函数
    Camera()
        : model("Unknown"), cameraType("Unknown"), rgbResolutionWidth(0),
          rgbResolutionHeight(0), rgbFrameRate(0), fovHorizontal(0),
          fovVertical(0), depthFrameRate(0) {}

    Camera(string m, string ct, int rw, int rh, int rfr, int hfov, int vfov, int dfr)
        : model(m), cameraType(ct), rgbResolutionWidth(rw), rgbResolutionHeight(rh), rgbFrameRate(rfr),
          fovHorizontal(hfov), fovVertical(vfov), depthFrameRate(dfr) {}
};